# Description= RedAlert oyunun mono tabanlı açık kaynak uygulaması
# Url= http://www.openra.net
# Packager: milisarge
# Depends on: mono dejavu-ttf openal freetype sdl2 lua51 hicolor-icon-theme gtk-update-icon-cache desktop-file-utils xdg-utils zenity unzip

name=openra
isim=OpenRA
version=20170421
release=1

source=(https://github.com/$isim/$isim/archive/release-$version.tar.gz)

build() {
	cd $isim-release-$version
	make dependencies
	make core
	make tools
	make prefix=/usr DESTDIR="$PKG" install-all
	make prefix=/usr DESTDIR="$PKG" install-linux-shortcuts
	make prefix=/usr DESTDIR="$PKG" install-linux-mime
	make prefix=/usr DESTDIR="$PKG" install-linux-appdata
	make prefix=/usr DESTDIR="$PKG" install-man-page
}
